package com.edu.study.base.activationCode.service;

import java.util.List;

import com.edu.study.base.activationCode.domain.TbActivationCodeRy;

/**
 * 激活码Service接口
 * 
 * @author jjt
 * @date 2021-03-01
 */
public interface ITbActivationCodeRyService 
{
    /**
     * 查询激活码
     * 
     * @param id 激活码ID
     * @return 激活码
     */
    public TbActivationCodeRy selectTbActivationCodeRyById(String id);

    /**
     * 查询激活码列表
     * 
     * @param tbActivationCodeRy 激活码
     * @return 激活码集合
     */
    public List<TbActivationCodeRy> selectTbActivationCodeRyList(TbActivationCodeRy tbActivationCodeRy);

    /**
     * 新增激活码
     * 
     * @param tbActivationCodeRy 激活码
     * @return 结果
     */
    public int insertTbActivationCodeRy(TbActivationCodeRy tbActivationCodeRy);

    public List<TbActivationCodeRy> batchInsert(TbActivationCodeRy tbActivationCodeRy);

    /**
     * 修改激活码
     * 
     * @param tbActivationCodeRy 激活码
     * @return 结果
     */
    public int updateTbActivationCodeRy(TbActivationCodeRy tbActivationCodeRy);

    /**
     * 批量删除激活码
     * 
     * @param ids 需要删除的激活码ID
     * @return 结果
     */
    public int deleteTbActivationCodeRyByIds(String[] ids);

    /**
     * 删除激活码信息
     * 
     * @param id 激活码ID
     * @return 结果
     */
    public int deleteTbActivationCodeRyById(String id);

    List<TbActivationCodeRy> selectTbActivationCodeRyListWithOther(TbActivationCodeRy tbActivationCodeRy);
}
